package com.moonLight.weblog.common.domain.dos;

import javax.validation.constraints.NotNull;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
* 文章所属分类关联表
* @TableName t_article_category_rel
*/
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("t_article_category_rel")
public class TArticleCategoryRelDo {

    /**
    * id
    */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
    * 文章id
    */
    private Long articleId;
    /**
    * 分类id
    */
    private Long categoryId;


}
